<html {$html_attrs}>
<head>
<title>Rel Boletim Resultados Cr</title>

<style>
.grid_block {  
margin-top:5px;
border-collapse: collapse;
align:center;
width:95%;
border: solid black 1px;
} 
.grid_block td { 
 padding: 5px; 
 margin: 0px; 
 border: solid #cccccc 1px;
}
.grid_block .gridspacing {width:20px;border-top-color:white; border-bottom-color:white;background-color:white}
@media print 
{
	a.pdf {display:none}
}
.printpage {page-break-after:always}
.pagesummary
{
background-color:#ffffbb;
}
.globalsummary
{
background-color:#ffe0b0;
}

{$cssdata}

.group_1
{
background-color: #FFFFFF;
}
.group_2
{
background-color: #FFFFFF;
}


.nbgroup_1
{
background-color: #FFFFFF;
border-style:none;
}
.nbgroup_2
{
background-color: #FFFFFF;
border-style:none;
}


.header_1
{
background-color: #D8D8D8;
}
.header_2
{
background-color: #D8D8D8;
}

</style> 
</head>
<body topmargin=5 style="background:white">
{BEGIN body}{BEGIN page}
<div>

<h1>Rel Boletim Resultados Cr</h1>
<div id='selpage'>Página {$pageno} de {$maxpages} </div>

{BEGIN grid_block}
<table align="center" cellpadding=5 class="grid_block">
{BEGIN grid_row}
<!-------------------------------------  group headers ----------------------------------------->
{BEGIN uorg_newgroup}
<tr>
<td class=header_1 colspan=11>
Uorg:&nbsp;
<font style="font-weight:900">{$uorg_grval}</font></td>
</tr>
{END uorg_newgroup}
{BEGIN codigo_parecer_newgroup}
<tr>
<td class=header_2 colspan=11>
Codigo Parecer:&nbsp;
<font style="font-weight:900">{$codigo_parecer_grval}</font></td>
</tr>
<tr>
<td class=blackshade><b>Codigoavaliacao</b></td>
<td class=blackshade><b>Nome Cr</b></td>
<td class=blackshade><b>Unidade Organizacional</b></td>
<td class=blackshade><b>Parecer</b></td>
<td class=blackshade><b>Descricao</b></td>
<td class=blackshade><b>Tipo</b></td>
<td class=blackshade><b>Acoes</b></td>
<td class=blackshade><b>In Nivel</b></td>
<td class=blackshade><b>Analise Desempenho</b></td>
<td class=blackshade><b>Ano</b></td>
<td class=blackshade><b>Id Uorg</b></td>
</tr>
{END codigo_parecer_newgroup}
<!-------------------------------------  data ----------------------------------------->
{BEGIN row_data}
<tr>
	<td class=data>{$codigoavaliacao_value}</td>
	<td class=data>{$nome_cr_value}</td>
	<td class=data>{$id_unidades_value}</td>
	<td class=data>{$parecer_value}</td>
	<td class=data>{$descricao_value}</td>
	<td class=data>{$tipo_value}</td>
	<td class=data>{$acoes_value}</td>
	<td class=data>{$in_nivel_value}</td>
	<td class=data>{$analise_desempenho_value}</td>
	<td class=data>{$id_ano_planejamento_value}</td>
	<td class=data>{$id_uorg_value}</td>
</tr>
{END row_data}
<!-------------------------------------  group summary ----------------------------------------->
{END grid_row}
</table>
{END grid_block}
</div>
{END page}{END body}
</body>
</html>